puts "Enter the first number"
first_number = gets.chomp
puts "Enter the second number"
second_number = gets.chomp

# first_number = 6
# second_number = 8.0

range = (1..4).to_a
choice = range.shuffle.first
puts choice
if(choice == 1)
answer = first_number + second_number
puts "The answer is #{answer}" 
puts "Operation used is Addition"
elsif(choice == 2)
answer = first_number - second_number
puts "The answer is #{answer}"
puts "Operation used is Subtraction"
elsif(choice == 3)
answer = first_number * second_number
puts "The answer is #{answer}"
puts "Operation used is Multiplicatoin"
else
answer = first_number / second_number
puts "The answer is #{answer}"
puts "Operation used is Division"
end